#include <iostream>

using namespace std;
class Student
{
public:
    int age;
    string name;
    int score;
    string gender;
    void introcude_self()
    {
        cout << "大家好，我叫" << name << "，今年" << age << "岁，性别" << gender << "，这次考试考了 " << score << "分，谢谢~" << endl;
    }
};

class Teacher
{
public:
    string name;
    void introduce(Student s)
    {
        s.introcude_self();
    }
};

int main()
{

    Student xiaoming = Student();
    xiaoming.name = "小明";
    xiaoming.age = 12;
    xiaoming.score = 150;
    xiaoming.gender = "男";

    Teacher teacher = Teacher();
    teacher.introduce(xiaoming);

    return 0;
}